execute unless entity @s[distance=5..] unless entity @e[type=#fislandpp:can_be_catch,distance=0..1] positioned ^ ^ ^0.1 run function fislandpp:put/ray
execute unless entity @s[tag=fisland_hasput] if entity @e[type=#fislandpp:can_be_catch,distance=0..1] run function fislandpp:put/ray2